Skip to content

HDDS-14891. [Website] Integrate prettier#366

Open
yuriipalam wants to merge 1 commit intoapache:masterfrom
yuriipalam:HDDS-14891
Open

HDDS-14891. [Website] Integrate prettier#366
yuriipalam wants to merge 1 commit intoapache:masterfrom
yuriipalam:HDDS-14891

Conversation

@yuriipalam
Copy link
Contributor

@yuriipalam yuriipalam commented Mar 24, 2026

What changes were proposed in this pull request?

HDDS-14891. [Website] Integrate prettier.

  • Prettier is a powerful formatting tool, so the code style is consistent across the files. It's an industry standard.
  • Prettier is configured for formatting the js/jsx/css files currently. It's also possible to use it for markdown, so all the tables/indents are precise, but it interferes with markdownlint. Therefore, I decided not to use for the markdown files.
  • It runs by eslint, we simply integrate Prettier as a set of another eslint's linting rules. It's the most popular and convenient pattern.

What is the link to the Apache Jira?

HDDS-14891

How was this patch tested?

Check off which of the following tests were done on this change. If additional testing was done, please elaborate here as well.

  • The CI checks on my fork are passing
  • I verified the rendered content using a local preview
  • I manually verified the steps provided in this change work as described

@errose28 errose28 self-requested a review March 24, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant